<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <sx:head/>
    <title>My JSP 'mtouser.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <center>
	    	<s:if test="#session.ulist.isEmpty()">
	    	抱歉！没有查到相关人员
	    	</s:if>
	    	<s:else>
	    	<input type="checkbox" name="allu"  id="allu" onclick="mychange()" />全选
	    	<s:iterator value="%{#session.ulist}">
	    		<s:if test="#session.userinfo.userid!=userid">
	    			<input type="checkbox" name="touser" id="touser" onclick="ch()" value="<s:property value="%{userid}"/>" />
	    			<s:property value="%{username}" />
	    		</s:if>
	    	</s:iterator>
	    	</s:else>
	    	
	    	<br/>
    </center>
  </body>
</html>
